<?LassoScript
// last modified: 3/15/05 by ECL, Landmann InterActive

// FUNCTIONALITY
// Resolution search form

// Debugging
// Var:'svDebug' = 'Y';

// Converting action_params
Var:'vError'=(Action_Param:'Error');
Var:'vTestID'=(Action_Param:'TestID');
?>
<form action="setup_searchresults.lasso" method="post">
	<div align="center">
		<table width="491">
			<tr>
				<td colspan="2">
					<h2>Search for Customer Info</h2> 
<?Lassoscript
// Standard Error Table
// If: (Var:'vError') != '2003';
If: (Var:'vError') != '';
	LI_ShowError3: -ErrNum=$vError, -Option=$vOption;
/If;
?>
				</td>
			</tr>
			<tr>
				<td width="150" bgcolor="[Var:'svSearchContentColor']" valign="middle">
					<div align="right">
						<strong>Name</strong>
						<br>
						Partial name OK
					</div>
				</td>
				<td valign="middle" bgcolor="[Var:'svPostContentColor']">
					<input type="text" name="Name" value="[Var:'vName']" size="12"> 
				</td>
			</tr>
			<tr>
				<td width="150" bgcolor="[Var:'svSearchContentColor']" valign="middle">
					<div align="right">
						<strong>Comment</strong>
						<br>
						Partial comment OK
					</div>
				</td>
				<td valign="middle" bgcolor="[Var:'svPostContentColor']">
					<input type="text" name="Comment" value="[Var:'vComment']" size="30">
				</td>
			</tr>
			<tr>
				<td width="150" bgcolor="[Var:'svSearchContentColor']" valign="middle">
					<div align="right">
						<strong>Display</strong>
					</div>
				</td>
				<td valign="middle" bgcolor="[Var:'svPostContentColor']">
					<select name="Display"> 
						<option value="" [if: (var:'vDisplay') == ''] selected[/If]></option>
						<option value="Y" [if: (var:'vDisplay') == 'Y'] selected[/if]>Yes</option>
						<option value="N" [if: (var:'vDisplay') == 'N'] selected[/if]>No</option>
					</select> 
				</td>
			</tr>
			<tr>
				<td colspan="2" bgcolor="[Var:'svSearchContentColor']">
					<div align="center">
						<input type="hidden" name="New" value="Y">
						<input type="hidden" name="DataType" value="Info">
						<input type="submit" name="-Nothing" value="Search">
					</div>
				</td>
			</tr>
		</table>
	</div>
</form>
